#导包
from rest_framework import serializers
from myapp.models import *
class Allserializers(serializers.ModelSerializer):
    class Meta:
        model = User
        fields = '__all__'

class Courserlizer(serializers.ModelSerializer):
    class Meta:
        model = Course
        fields = '__all__'





